//
//  MTicketService.h
//  NeusoftHBSJSober
//
//  Created by Apple-21 on 15/11/11.
//  Copyright (c) 2015年 com.neusoftsober. All rights reserved.
//

#import "MBaseService.h"
@class MSalemanModel;
typedef void (^GetFriendListCompletionHandle)(NSMutableArray *result);
typedef void (^GetFriendListCompletionError)(NSString *error);

typedef void (^GetSalemanInfoCompletionHandle)(MSalemanModel *model);
typedef void (^GetSalemanInfoCompletionError)(NSString *error);

typedef void (^GetCashCoponCompletionHandle)(NSMutableArray *result);
typedef void (^GetCashCoponCompletionError)(NSString *error);
@interface MTicketService : MBaseService

- (void)getFriendListWithUserID:(NSString *)userID completion:(GetFriendListCompletionHandle)success failure:(GetFriendListCompletionError)failure;


- (void)getMerchantInfoWithSalemanUserID:(NSString *)merchantID completion:(GetSalemanInfoCompletionHandle)success failure:(GetSalemanInfoCompletionError)failure;

- (void)getCashCoponWithCodeID:(NSString *)codeID completion:(GetCashCoponCompletionHandle)success failure:(GetCashCoponCompletionError)failure;
@end
